<?php

//防止恶意调用
if (!defined('IN_MOD'))
{
    die('Hacking attempt');
}

// pc mobile xcx配置程序
if($configinfo['modulepara'] == "pc" || $configinfo['modulepara'] == "mobile" || $configinfo['modulepara'] == "xcx")
{
	// 接收AJAX模块
	$ajaxname = moduleaqvarval('ajaxname','string');
	
	// 配置模块AJAX
	require(MODULEPARA_PATH.'/config/fastx/fastx.ajax.php');
	
	// 配置会员AJAX
	if(moduleaqvarval('ajaxmember','string'))
	{
		if($configmember)
		{
			require(MODULEPARA_PATH . '/config/fastx/fastx.member.ajax.php');
		}else{
			ajax_error(2,"请先登录会员");	
		}
	}
}

// 后台配置程序
if($configinfo['modulepara'] == "admin")
{
	// 接收AJAX模块
	$ajaxname = moduleaqvarval('ajaxname','string');
	
	// 配置后台AJAX
	require(MODULEPARA_PATH . '/config/fastx/fastx.admin.ajax.php');
}
?>